package com.light.applet.oauth.service;

import com.light.applet.common.exception.oauth.WechatOauthException;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * @author: 魏彪
 */
public interface WechatOauthService extends UserDetailsService {
    UserDetails loadUserByCode(String code) throws WechatOauthException;
}
